import type { App } from "vue";
import { http } from "./http";

export const setupHttpClient = (app?: App) => {
	// uni.http = http; // 将http挂载到uni全局属性上

	if (app) {
		app.config.globalProperties.$http = http; // 将http挂载到vue全局属性上
	}
};
